// extract module
var http = require('http');
var url = require('url');

// use module
http.createServer(function(request, response) {
	// extract query string
	var query = url.parse(request.url, true).query;
	
	// print GET request parameters
	response.writeHead(200, {'Content-Type': 'text.html'});
	response.end('<h1>' + JSON.stringify(query) + '</h1>');
}).listen(52273, function() {
	console.log('Server running at http://127.0.0.1:52273');
});